﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Department.aspx.cs" Inherits="webcommon_Department"
    Theme="skin_control" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>部门</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript">
<!--
        function GetPro(supName) {
            var s = '<%=_target %>';
            if (opener.document.getElementById(s) != null) {
                window.opener.document.getElementById(s).value = supName;
                self.close();
            }
            self.close();
        }          
-->
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="1" cellpadding="0" cellspacing="0" width="100%" style="width: 700px;
            height: 583px; background-color: #dedede">
            <tr style="height: 26px">
                <td colspan="3">
                    所有部门 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; 选定的部门
                </td>
            </tr>
            <tr>
                <td style="height: 158px; width: 175px;" valign="top">
                    <asp:Panel ID="Panel1" runat="server" Height="200px" ScrollBars="Vertical" Width="175px"
                        BackColor="White">
                        <asp:TreeView ID="tvDepartment" runat="server" ShowLines="True" ExpandDepth="1" OnSelectedNodeChanged="tvDepartment_SelectedNodeChanged"
                            SkinID="treeviewSkin">
                        </asp:TreeView>
                    </asp:Panel>
                </td>
                <td style="height: 158px; width: 50px;" valign="top" align="center">
                    <br />
                    <br />
                    <br />
                    <br />
                    <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="选择" SkinID="buttonSkin"
                        Visible="False" /><br />
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/btncheck.gif"
                        OnClick="ImageButton1_Click" /><br />
                    <br />
                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/btncancel.gif"
                        OnClick="ImageButton2_Click" /><br />
                    <asp:Button ID="btnRemove" runat="server" OnClick="btnRemove_Click" Text="移除" SkinID="buttonSkin"
                        Visible="False" />
                </td>
                <td align="left" valign="top" style="width: 175px; text-align: center;">
                    <asp:ListBox ID="lbxDepartmentOk" runat="server" Height="200px" Width="173px"></asp:ListBox>
                    <br />
                    <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/images/up.gif" OnClick="ImageButton1_Click"
                        Visible="False" />&nbsp;&nbsp; &nbsp; &nbsp;<asp:ImageButton ID="ImageButton4" runat="server"
                            ImageUrl="~/images/down.gif" OnClick="ImageButton2_Click" Visible="False" /><br />
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: center" valign="top">
                    <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="提交" SkinID="buttonSkin" />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp;&nbsp;
                    <asp:Button ID="btnReset" runat="server" Text="清空" OnClick="btnReset_Click" SkinID="buttonSkin" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
